package com.lzy.system.organization.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 部门
 * </p>
 *
 * @author lcc
 * @since 2023-11-22
 */
@Data
@ApiModel(value = "SysDepartmentOrderDTO对象", description = "部门排序DTO")
public class SysDepartmentOrderDTO {

    @NotNull(message = "id 不能为空")
    private Long id;

    @NotNull(message = "pid 不能为空")
    @ApiModelProperty("父id")
    private Long pid;

    @NotNull(message = "排序不能为空")
    @ApiModelProperty("排序")
    private Long order_index;

    @ApiModelProperty("部门全路径")
    @NotNull(message = "部门全路径不能为空")
    private String dep_name_path_full;

    @ApiModelProperty("部门id全路径")
    @NotNull(message = "部门id全路径不能为空")
    private String dep_id_path_full;

}
